/*
 *  this file store the clusters of the questions
 *
 */
#ifndef SAMPLEQUESTION_H_
#define SAMPLEQUESTION_H_
#include "header.h"
class SampleQuestion {
    public:
        SampleQuestion();
        //clusterIdMapFile give the clusterId of every questions
        //clusterFile give the questions of every clusterId
        SampleQuestion(const char *docIdMapFile, int docNum);
        ~SampleQuestion();
        void load(const char *docIdMapFile, int docNum);
        inline int isSampledQuestionId(int qId)
        { if (this->qIdMap[qId] % 20 < 4) return true; else return false;}
    private:
        vector<int> qIdMap;
        int docNum;
};

#endif //SAMPLEQUESTION_H_
